# define _CRT_SECURE_NO_WARNINGS 1

#include "SList.h"

void Test()
{
	SLTNode* plist = NULL;
	SLTPushBack(&plist, 1);
	SLTPushBack(&plist, 2);
	SLTPushBack(&plist, 3);
	SLTPushBack(&plist, 4);
	SLTPushBack(&plist, 5);

	//SLTPushFront(&plist, 3);
	//SLTPopFront(&plist);
	//SLTPopBack(&plist);
	SLTPrint(plist);
	
	SLTNode* pos = SLTFind(plist, 3);
	//SLTInsert(&plist, pos, 30);
	//SLTInsertAfter(pos, 10);
	//SLTErase(&plist, pos);
	SLTEraseAfter( pos);

	SLTPrint(plist);

}

int main()
{
	Test();
	return 0;
}